Resource Lambda-Calculus: the Differential Viewpoint

نویسنده

  • Thomas Ehrhard
چکیده

Milner’s π calculus features a clear dichotomy between replicable and non-replicable resources, very much in the spirit of Linear Logic (LL). Analyzing Milner’s encoding of the lazy λ-calculus in the π-calculus, Boudol introduced the λ-calculus with resources [1, 2] where functions can be applied to bags made of replicable and non-replicable arguments. This refinement of the syntax required to stick to a lazy reduction strategy implemented with explicit substitutions, used to postpone linear substitutions of non replicable resources. Motivated by the discovery of denotational models of LL such as [3] where all morphisms of the associated cartesian closed category can be differentiated, we introduced in [4] the differential λ-calculus which features two ways of applying a function to an argument: the standard one and a linear one, implementing differentiation. This approach allows to generalize Boudol’s idea: linear β-reduction – understood now as differentiation – can be performed everywhere in terms, and explicit substitutions are not needed anymore. Moreover, these differential operations fit very well in the LL framework: differentiation appears as a logical rule dual to dereliction, and the nice par/tensor symmetry of multiplicative LL extends to the exponentials, see [5]. In the conclusion of [6], Girard contemplated the possibility of introducing differential ideas in LL. There were probably very good reasons for not doing so at this early stage, since differential constructs are incompatible with both determinism and totality. We present differential linear logic and its models, the associated resource and differential λcalculi, and the Taylor expansion of promotion boxes. We also describe an antiderivative which seems to be available in many models of differential LL, and we present a very simple categorical axiom for this operation. Digital Object Identifier 10.4230/LIPIcs.CSL.2011.1

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Graphic lambda calculus and knot diagrams

The graphic lambda calculus [5] is a formalism based on local or global moves acting on locally planar trivalent graphs. In the mentioned paper we showed that ”sectors” of this calculus are equivalent with untyped lambda calculus or with emergent algebras. (The formalism of emergent algebras [2] [3] evolved from differential calculus on metric spaces with dilations [1].) For all the relevant no...

متن کامل

Böhm Trees, Krivine's Machine and the Taylor Expansion of Lambda-Terms

We introduce and study a version of Krivine’s machine which provides a precise information about how much of its argument is needed for performing a computation. This information is expressed as a term of a resource lambda-calculus introduced by the authors in a recent article; this calculus can be seen as a fragment of the differential lambda-calculus. We use this machine to show that Taylor e...

متن کامل

The Resource Lambda Calculus Is Short-Sighted in Its Relational Model

Relational semantics is one of the simplest and categorically most natural semantics of Linear Logic. The co-Kleisli category MRel associated with its multiset exponential comonad contains a fully abstract model of the untyped λ-calculus. That particular object of MRel is also a model of the resource λ-calculus, deriving from Ehrhard and Regnier’s differential extension of Linear Logic and rela...

متن کامل

Full Abstraction for the Resource Lambda Calculus with Tests, through Taylor Expansion

We study the semantics of a resource-sensitive extension of the lambda calcu-lus in a canonical reflexive object of a category of sets and relations, a relational version ofScott’s original model of the pure lambda calculus. This calculus is related to Boudol’s re-source calculus and is derived from Ehrhard and Regnier’s differential extension of LinearLogic and of the lambda ca...

متن کامل

On the discriminating power of tests in resource lambda-calculus

Since its discovery, differential linear logic (DLL) inspired numerous domains. In denotational semantics, categorical models of DLL are now commune, and the simplest one is Rel, the category of sets and relations. In proof theory this naturally gave birth to differential proof nets that are full and complete for DLL. In turn, these tools can naturally be translated to their intuitionistic coun...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011